package com.yonyou.cyxdms.basedata.client.service.basedata;

import com.yonyou.cyxdms.basedata.client.dto.VsProductDlrVO;
import com.yonyou.cyxdms.basedata.client.feign.BaseDataCommonClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BaseCommonProductDlrServiceImpl implements BaseCommonProductDlrService {

    @Autowired
    private BaseDataCommonClient baseDataCommonClient;

    @Override
    public VsProductDlrVO selectByProductCode(String productCode, String dealerCode,Integer powerType, String appId) {
        return baseDataCommonClient.selectByProductCode(productCode,dealerCode,powerType,appId).getData();
    }
}
